module SiteBuilder
  class Action    
    def convert(source, destination)
      throw Exception.new("should implement Action#convert")
    end
  end
  
  class CopyAction < Action
    def convert(source, destination)
      `cp #{source.path} #{destination}`
      puts "cp #{source.path} #{destination}"
    end
  end
  
  class NullAction < Action
    def convert(source, destionation)
    end
  end
  
  
end
